package u13.ejemplos.ejemplo3;

import java.awt.Graphics;

import javax.swing.JPanel;

public class Lienzo extends JPanel{
	
	public void paint(Graphics g){
		//super.paint(g); Si queremos reutilizar metodo del padre
		g.drawLine(50, 200, 350, 200);
		g.drawLine(200, 50, 200, 350);
		for (int i=0;i<100+i;i++){
			g.drawOval(150, 150, 100, 100);
			esperar();
		}
	}

	private void esperar(){
		for (int i=0;i<10000;i++){
			for (int j=0;j<1000;j++){
				
			}
		}
	}
	
}
